


  <!-- =============================================
    
    PAGE login: contenuta in index.php, per effettuare il
                login all'applicativo 
    
      =============================================  -->


<div data-role="page" id="login-page" data-theme="f">
  
  <script>
  
  $('#login-page').live('pageinit', function() {
  
  

    $("form#login-form").live('submit', function() {

      // validate and process form here

      var email = $("input#email").val();
      var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;


      if (email == "") {
        alert('Indirizzo mail non valido');
        return false;
      }

      if(!emailReg.test(email)) {
        alert('Indirizzo mail non valido');
        return false;
        }

        });
    });   
    
  </script>
  
      
      
        <!--<div id="fb-root"></div>
        <script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) return;
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/it_IT/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));
        </script>-->
        
      
      
      <!-- header -->
      <div data-role="header" style="text-align: center" data-theme="f">        
        <!-- <h1>giftshake</h1> -->
        <h1 class="logo"><i class="sp_6jxgq1 sx_df432d"></i></h1>
      </div>
    
      <div data-role="content"  > 
      
        <!-- <div style="box-shadow: 0 3px 3px #AFAFAF">
          <img alt="" src="images/logo2.png" style="margin: 20px; padding-top:40px; padding-bottom: 40px" width="90%" />
        </div> -->
        
        <!-- <div style="border-bottom: 1px solid gray"></div> -->
        
        <!-- <div style="margin: 20px; padding-top: 50px">
          <a href="#login_page" data-transition="slideup" data-corners="false" data-role="button" 
                  class="show-page-loading-msg" data-theme="b">Accedi</a>
        
        </div> -->
        


       
       <form id="login-form" action="home.php" data-ajax="false" method="POST">
            <fieldset>            

            <label for="email">Email<strong><sup>*</sup></strong>:</label>
            <input type="email" name="email" id="email" value=""   />

            <!--
            <label for="password">Password:</label>
            <input type="password" name="password" id="password" value="demodemo" readonly="true" />
            -->

            <input data-corners="false" id="submit-login" type="submit" value="Login" data-role="button" data-inline="true" data-theme="b" />

            <!--<hr />-->
            <!-- Don't have a login yet? <a href="#" style="text-decoration: none">Sign Up</a> -->
            <!-- Non hai ancora un account? <a href="www.giftshake.it" style="text-decoration: none">Registrati su www.giftshake.it</a> -->
            <!--Per accedere pre-registrati <a href="www.giftshake.it" style="text-decoration: none">QUI</a>!-->
            </fieldset>
        </form>

       <br/>

       <hr />
       <strong>*</strong> <br/>
       Indirizzo mail di pre-registrazione oppure un nuovo indirizzo valido. <br/>
       La demo attuale è esclusivamente una simulazione dimostrativa.  <br/>
       Sistemi operativi supportati: Iphone IOS, Android.

       <br/>



      
      <!--<a href="#page-invita-amici" data-role="button" class="show-page-loading-msg" data-theme="f" data-icon="" data-iconpos="">Invita un amico</a>-->
      <!--<a href="#page-vota" data-role="button" class="show-page-loading-msg" data-theme="f" data-icon="" data-iconpos="">Vota / Commenta</a>-->
      <!-- <img src="images/fb_like_button.jpeg" width="80px" height="35px"/> -->
            
      
      <!--<div class="fb-like" data-href="https://www.facebook.com/pages/Giftshake/358940910888185?ref=hl" -->
            <!--data-send="false" data-layout="button_count" data-width="150" data-show-faces="false"></div>-->
       
       <!-- <div class="fb-follow" data-href="https://www.facebook.com/pages/Giftshake/358940910888185" data-show-faces="false" data-font="trebuchet ms" data-width="150"></div> -->
            
      
      
      <!-- <iframe src="https://www.facebook.com/plugins/like.php?href=https://www.facebook.com/pages/Giftshake/358940910888185?ref=hl"
        scrolling="yes" frameborder="0"
        style="border:none; width:100px; height:80px"></iframe> -->  
  
      </div> <!-- end content -->
      
      
      
    <div style="text-align: center"  data-role="footer" data-theme="c" >
      <ul style="list-style: none; padding: 0">
        <li>
         <a data-inline="true" href="" 
             style ="text-decoration: none; font-size: 13px; color: #999999 ">Giftshake © 2013</a>       
         
         <a data-inline="true" href="" 
             style ="text-decoration: none; padding-left: 20px; font-size: 13px; color: #999999" >Guida
         </a>
        </li>
     </ul>
   </div>
      
    
    
    </div> <!-- end page -->


